<template>
  <div class="comPage">
    <el-form :model="formData" label-position="right" label-width="auto">
<!--          <el-form-item label="扫码欢迎语: ">-->
<!--            <el-input v-model="textarea" maxlength="500" placeholder="您好,欢迎找我咨询,请您认真填写下方问诊卡,因为这有助于我更好的了解您的病情。"-->
<!--              show-word-limit type="textarea" />-->
<!--          </el-form-item>-->
        <el-form-item label="个人简介：: ">
          <el-input v-model="formData.introduce" maxlength="500" placeholder="请输入个人简历" show-word-limit type="textarea" />
        </el-form-item>

        <el-form-item label="医生擅长: ">
          <el-input v-model="formData.good" maxlength="500" placeholder="请输入医生擅长" show-word-limit type="textarea" />
        </el-form-item>

        <el-form-item label="个人荣誉: ">
          <el-input v-model="formData.honour" maxlength="500" placeholder="请输入荣誉" show-word-limit type="textarea" />
        </el-form-item>

<!--          <el-form-item label="关联线下医生ID：">-->
<!--            <el-input v-model="formData.name" placeholder="请输入关联线下医生" clearable />-->
<!--          </el-form-item>-->

    </el-form>
  </div>
</template>
<script setup>
  import {
    ref,
    reactive,
    toRaw
  } from 'vue'

  const props = defineProps({
    formData: { type: Object },
  })
</script>

<style lang="scss" scoped>
  ::v-deep .el-input {
    width: 400px;
    height: 40px;
  }

  ::v-deep .el-textarea {
    width: 400px;
  }

  ::v-deep .el-textarea__inner {
    height: 120px;
  }

  .pageContent {}

  .avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .avatar-uploader .el-upload:hover {
    border-color: #409EFF;
  }

  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
  }

  .avatar {
    width: 178px;
    height: 178px;
    display: block;
  }

  //上传的样式
  .upLoadImg {
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    text-align: center;
    width: 120px;
    padding: 10px 15px;

    .title {
      font-size: 12px;
      color: #8c939d;
    }

    .addImg {
      width: 40px;
      height: 40px;
    }
  }
</style>
